<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<title>退货登记 - 物流管理系统</title>
	<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<style media="all" type="text/css">@import "../../style/all.css";</style>
	<script type="text/javascript" src='../../script/common.js'></script>
	<script>
		 function checkSelect(){
			  var num=document.getElementById("num").value;
			  if(num=="" || num==null){
				 alert("任务单号不能为空!");
				 return false;
			  }		 
			  return true;
		 }

	</script>
	<script>
		
		 function checkAll(){
			   for(var i=0;i<4;i++){
				  document.frm.checkAll[i].checked=true;
			   }
		  }
		  function checkNo(){
			   for(var i=0;i<4;i++){
				  document.frm.checkAll[i].checked=false;
			   }
		  }
		  function moreCheck(){
			  if(document.frm.checkAll[0].checked==false && document.frm.checkAll[1].checked==false && document.frm.checkAll[2].checked==false &&document.frm.checkAll[3].checked==false){
				alert('请选择您要退货的商品!');
				return false;
			  }
			  confirm('确定退货?');
		  }
	</script>
</head>
<body style="background: none">
	<div class="top-bar">
		<!--a href="#" class="button">取 消</a><a href="#" class="button">保 存</a-->
		<h1>退货登记</h1>
		<div class="breadcrumbs">
			<div class="button-bar">
				<input type="button" name="help" value="帮助" class="button"  onclick="help('物流管理系统')"/>
				<input type="button" name="select" value="查询" class="button" onclick="return  checkSelect()"/>
			</div>
			<a href="../../index.html" target="_top"  >首页</a> /
			<a href="../index.html" target="_top"  >库房管理</a> 
		</div>
	</div>
    <div class="select-bar">
	  <table class="select-table">
		<tr>
			<th>任务单号</th>
			<td><input type="text" id="num" class="text" size="15"/><span style="color:red">*</span></td>
			<th></th>
			<td></td>
			<th></th>
			<td></td>
		</tr>
		
					 
	  </table>
	  <label></label>
    </div>

	<div class="table">
		<img src="../../style/img/bg-th-left.gif" width="8" height="7" alt="" class="left" />
		<img src="../../style/img/bg-th-right.gif" width="7" height="7" alt="" class="right" />
		<form name="frm" method="post" action="">
			<table class="listing form" cellpadding="0" cellspacing="0">
				<tr>
					<th class="first">选择</th>
					<th>任务单号</th>
					<th>商品编号</th>
					<th>商品名称</th>
					<th>型号</th>
					<th>厂商</th>
					<th>退货数量</th>
					<th>计量单位</th>
					<th>操作</th>
				</tr>
				<tr>
				   <td class="first"><input type="checkbox" name="checkAll"></td>
				   <td>98667411</td>
				   <td>SN9996</td>
				   <td>数码相机SONY</td>
				   <td>DSC-T900</td>
				   <td>SONY</td>
				   <td>1</td>
				   <td>台</td>
				   <td><img title="退货" onclick="confirm('确定退货?')" src="../../style/img/Fugue_1030.png"/></td>
				</tr>
				<tr>
				   <td class="first"><input type="checkbox" name="checkAll"></td>
				   <td>98667411</td>
				   <td>SN9996</td>
				   <td>佳能数码相机</td>
				   <td>DSC-HX1</td>
				   <td>SONY</td>
				   <td>2</td>
				   <td>台</td>
				   <td><img title="退货" onclick="confirm('确定退货?')" src="../../style/img/Fugue_1030.png"/></td>
				</tr>
				<tr>
				   <td class="first"><input type="checkbox" name="checkAll"></td>
				   <td>98667411</td>
				   <td>SN9996</td>
				   <td>三星数码相机</td>
				   <td>DSC-W200</td>
				   <td>SONY</td>
				   <td>1</td>
				   <td>台</td>
				   <td><img title="退货" onclick="confirm('确定退货?')" src="../../style/img/Fugue_1030.png"/></td>
				</tr>
				<tr>
				   <td class="first"><input type="checkbox" name="checkAll"></td>
				   <td>98667411</td>
				   <td>SN9996</td>
				   <td>富士数码相机</td>
				   <td>DSC-W190</td>
				   <td>SONY</td>
				   <td>3</td>
				   <td>台</td>
				   <td><img title="退货" onclick="confirm('确定退货?')" src="../../style/img/Fugue_1030.png"/></td>
				</tr>
			</table>
		</form>
		<br/>
		<input type="button" value="全选" class="button" onclick="checkAll()"/>&nbsp;
		<input type="button" value="全不选" class="button" onclick="checkNo()"/>&nbsp;
		<input type="button" value="退货" class="button"  onclick="moreCheck()"/>		
		<div class="pager">
			共59条记录 每页<input value="10" size="2" />条
			第<input value="1" size="2"/>页/共5页
			<a href="#">第一页</a>
			<a href="#">上一页</a>
			<a href="#">下一页</a>
			<a href="#">最后一页</a>
			转到<input value="1" size="2" />页
			<button width="20" onclick="window.location.reload();">GO</button>
		</div>
	</div>
</body>
</html>
